@echo off

cd client

IF NOT EXIST node_modules (
  echo Installing dependencies...
  npm install
  IF %ERRORLEVEL% EQU 0 (
    echo Installation completed successfully. Starting the Dev Server...
    npm run proxy
  )
) ELSE (
    echo Starting the server...
    npm run proxy
)
